<template>
  <div id="app">
    <div>
        <router-view></router-view>
    </div>
  <div>
    <van-tabbar v-model="active">
        <van-tabbar-item to="/home/class" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item to="/home/car" icon="search">购物车</van-tabbar-item>
        <van-tabbar-item to="/home/my"  icon="friends-o">我的</van-tabbar-item>
        </van-tabbar>
  </div>
      
  </div>
</template>
<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>
<style lang="scss">
</style>
